<template>
  <div class="content">
    <login-content v-if="!this.isLogin"></login-content>
  </div>
</template>

<script>
import loginContent from '../login'
export default {
  data () {
    return {
      isLogin: false
    }
  },
  components: {
    loginContent
  },
  onLoad () {
    this.isLogin = wx.setStorageSync('islogin') ? wx.setStorageSync('islogin') : false
  },
  created () {}
}
</script>

<style scoped>
.content{
  position: fixed;
  width:100%;
  height: 100%;
  border-top: 1px solid #fff;
}
</style>
